package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:13
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductIssueNoteDAO extends IDataAccessInterface<ProductIssueNote, ProductIssueNoteDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ISSUE_NOTE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ISSUE_NOTE.ID";

    /**
     * Mapped Field ISSUE_ID
    */
    static final String IssueId = "PRODUCT_ISSUE_NOTE.ISSUE_ID";

    /**
     * Mapped Field NOTE_CONTENT
    */
    static final String NoteContent = "PRODUCT_ISSUE_NOTE.NOTE_CONTENT";

    /**
     * Mapped Field NOTE_TIME
    */
    static final String NoteTime = "PRODUCT_ISSUE_NOTE.NOTE_TIME";

    /**
     * Mapped Field NOTE_USER_ID
    */
    static final String NoteUserId = "PRODUCT_ISSUE_NOTE.NOTE_USER_ID";

    /**
     * Mapped Attribute noteUserName
    */
    static final String NoteUserName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_J6921L_SysUser.");

    /**
     * Mapped Attribute noteUserPhoto
    */
    static final String NoteUserPhoto = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserPhoto,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_J6921L_SysUser.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductIssueNote findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute issueId
         */
        static final String IssueId = "issueId";

        /**
         * Attribute noteContent
         */
        static final String NoteContent = "noteContent";

        /**
         * Attribute noteTime
         */
        static final String NoteTime = "noteTime";

        /**
         * Attribute noteUserId
         */
        static final String NoteUserId = "noteUserId";

        /**
         * Attribute noteUserName
         */
        static final String NoteUserName = "noteUserName";

        /**
         * Attribute noteUserPhoto
         */
        static final String NoteUserPhoto = "noteUserPhoto";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
